package com.hc.cosmetichospital.pojo;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 药品登记收费
 * @author ASUS
 *
 */
public class DrugItems {
    private Integer dId;

    private String dCategory; //类别

    private String dName; //名称

    private String dSpecification; //规格

    private Integer dCount; //数量

    private String dUnit; //单位

    private Double dUnivalence; //单价

    private Double dPrice; //金额

    private String dUsageAndDosage; //用法用量

    private String dRemark; //备注

    private Clients clients; //客户编号，关联客户表

    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date date;// 购买时间
    
    

    public Date getDate() {
		return date;
	}

	public void setDate(Date date) {
		this.date = date;
	}

	public String getdCategory() {
        return dCategory;
    }

    public void setdCategory(String dCategory) {
        this.dCategory = dCategory == null ? null : dCategory.trim();
    }

    public String getdName() {
        return dName;
    }

    public void setdName(String dName) {
        this.dName = dName == null ? null : dName.trim();
    }

    public String getdSpecification() {
        return dSpecification;
    }

    public void setdSpecification(String dSpecification) {
        this.dSpecification = dSpecification == null ? null : dSpecification.trim();
    }

 

    public String getdUnit() {
        return dUnit;
    }

    public void setdUnit(String dUnit) {
        this.dUnit = dUnit == null ? null : dUnit.trim();
    }

    public Double getdUnivalence() {
        return dUnivalence;
    }

    public void setdUnivalence(Double dUnivalence) {
        this.dUnivalence = dUnivalence;
    }

    public Double getdPrice() {
        return dPrice;
    }

    public void setdPrice(Double dPrice) {
        this.dPrice = dPrice;
    }

    public String getdUsageAndDosage() {
        return dUsageAndDosage;
    }

    public void setdUsageAndDosage(String dUsageAndDosage) {
        this.dUsageAndDosage = dUsageAndDosage == null ? null : dUsageAndDosage.trim();
    }

    public String getdRemark() {
        return dRemark;
    }

    public void setdRemark(String dRemark) {
        this.dRemark = dRemark == null ? null : dRemark.trim();
    }

	public Integer getdId() {
		return dId;
	}

	public void setdId(Integer dId) {
		this.dId = dId;
	}

	public Integer getdCount() {
		return dCount;
	}

	public void setdCount(Integer dCount) {
		this.dCount = dCount;
	}

	public Clients getClients() {
		return clients;
	}

	public void setClients(Clients clients) {
		this.clients = clients;
	}



    
}